<!DOCTYPE html>
<html lang="en">
    <head>
        <meta charset="UTF-8">
        <title>Title</title>
        <script>
            var objs = [
                {
                    "id": 1001,
                    "name": "alice"
                },
                {
                    "id": 1002,
                    "name": "tom"
                },
                {
                    "id": 1003,
                    "name": "coco"
                }
            ];
            window.onload = function () {
                var idol = document.getElementById("idol");
                for (var i = 0; i < objs.length; i++) {
                    var option = new Option(objs[i].name, objs[i].id);
                    idol.add(option);
                }
            };

        </script>

    </head>
    <body>
        <select name="" id="idol">
            <option value="0">请选择你的idol</option>
        </select>
    </body>
</html>